﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseRepositoryException.cs" company="Rabid Dog Labs">
//   Rabid Dog Labs
// </copyright>
// <summary>
//   Base Repository Exception Class
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System;

namespace TeamCommunitySolution.Repositories.Base
{
    /// <summary>
    /// Base Repository Exception Class
    /// </summary>
    public class BaseRepositoryException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="BaseRepositoryException"/> class.
        /// </summary>
        public BaseRepositoryException()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseRepositoryException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public BaseRepositoryException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BaseRepositoryException"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="innerException">The inner exception.</param>
        public BaseRepositoryException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
    }
}
